e47a337fd91b430b3a6fbb23b7dbf952a18e39e8,src/lu/fisch/structorizer/gui/ExportOptionDialoge.java,ExportOptionDialoge,initComponents,#,100

Before Change


        });
        // END KGU#168 2016-04-04
        // START KGU#287 2016-11-11: Issue #81 (DPI-awareness workaround)
        chkCharsetAll.setIcon(unselectedBox);
        chkCharsetAll.setSelectedIcon(selectedBox);
        // END KGU#287 2016-11-11

        // START KGU#171 2016-04-01: Enh. #144 - new: preferred code export language
        lbVoid.setText(" ");	// FIXME: Can we replace this by insets?
        lbVoid.setMinimumSize(
        		new Dimension(lbVoid.getMinimumSize().width, cbPrefGenerator.getPreferredSize().height));
        lbPrefGenerator.setText("Favorite Code Export:");
        lbPrefGenerator.setMinimumSize(
        		new Dimension(lbPrefGenerator.getMinimumSize().width, cbPrefGenerator.getPreferredSize().height));
        cbPrefGenerator.setMaximumSize(
        		new Dimension(150, cbPrefGenerator.getPreferredSize().height));
        cbPrefGenerator.setMaximumRowCount(cbPrefGenerator.getItemCount());
        cbPrefGenerator.addItemListener(new ItemListener() {
            public void itemStateChanged(ItemEvent evt) {
                preferredGeneratorChanged(evt);
            }
        });
        // END KGU#17 2016-04-01

        // START KGU#162 2016-03-31: Enh. #144 - now option to suppress all content transformation
        noConversionCheckBox.setText("No conversion of the expression/instruction contents.");
        noConversionCheckBox.setToolTipText("Select this option if the text content of your elements already represents target language syntax.");
        // END KGU#162 2016-03-31
        // START KGU#287 2016-11-11: Issue #81 (DPI-awareness workaround)
        noConversionCheckBox.setIcon(unselectedBox);
        noConversionCheckBox.setSelectedIcon(selectedBox);
        // END KGU#287 2016-11-11

        commentsCheckBox.setText("Export instructions as comments.");
//        commentsCheckBox.addActionListener(new ActionListener() {
//            public void actionPerformed(ActionEvent evt) {
//                commentsCheckBoxActionPerformed(evt);
//            }
//        });
        // START KGU#287 2016-11-11: Issue #81 (DPI-awareness workaround)
        commentsCheckBox.setIcon(unselectedBox);
        commentsCheckBox.setSelectedIcon(selectedBox);
        // END KGU#287 2016-11-11

        jLabel1.setText("Please select the options you want to activate ...");

        bracesCheckBox.setText("Put block-opening brace on same line (C/C++/Java etc.).");
        //bracesCheckBox.setActionCommand("Put block-opening brace on same line (C/C++/Java etc.).");	// ??
        bracesCheckBox.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent evt) {
                bracesCheckBoxActionPerformed(evt);
            }
        });
        // START KGU#287 2016-11-11: Issue #81 (DPI-awareness workaround)
        bracesCheckBox.setIcon(unselectedBox);
        bracesCheckBox.setSelectedIcon(selectedBox);
        // END KGU#287 2016-11-11

        lineNumbersCheckBox.setText("Generate line numbers on export to BASIC.");
        lineNumbersCheckBox.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent evt) {
                lineNumbersCheckBoxActionPerformed(evt);
            }
        });
        // START KGU#287 2016-11-11: Issue #81 (DPI-awareness workaround)
        lineNumbersCheckBox.setIcon(unselectedBox);
        lineNumbersCheckBox.setSelectedIcon(selectedBox);
        // END KGU#287 2016-11-11

        chkExportSubroutines.setText("Involve called subroutines");
        chkExportSubroutines.addActionListener(new ActionListener() {
        	public void actionPerformed(ActionEvent evt) {
        		subroutinesCheckBoxActionPerformed(evt);
        	}
        });
        // START KGU#287 2016-11-11: Issue #81 (DPI-awareness workaround)
        chkExportSubroutines.setIcon(unselectedBox);
        chkExportSubroutines.setSelectedIcon(selectedBox);
        // END KGU#287 2016-11-11
        
        jButton1.setText("OK");

After Change


        });
        // END KGU#168 2016-04-04
		// START KGU#287 2017-01-07: Bugfix #330
        if (scaleFactor > 1 && !isNimbus) {
		// END KGU#287 2017-01-07
        	// START KGU#287 2016-11-11: Issue #81 (DPI-awareness workaround)
        	chkCharsetAll.setIcon(unselectedBox);
        	chkCharsetAll.setSelectedIcon(selectedBox);
        	// END KGU#287 2016-11-11
		// START KGU#287 2017-01-07: Bugfix #330
        }
        // END KGU#287 2017-01-07

        // START KGU#171 2016-04-01: Enh. #144 - new: preferred code export language
        lbVoid.setText(" ");	// FIXME: Can we replace this by insets?
        lbVoid.setMinimumSize(
        		new Dimension(lbVoid.getMinimumSize().width, cbPrefGenerator.getPreferredSize().height));
        lbPrefGenerator.setText("Favorite Code Export:");
        lbPrefGenerator.setMinimumSize(
        		new Dimension(lbPrefGenerator.getMinimumSize().width, cbPrefGenerator.getPreferredSize().height));
        cbPrefGenerator.setMaximumSize(
        		new Dimension(150, cbPrefGenerator.getPreferredSize().height));
        cbPrefGenerator.setMaximumRowCount(cbPrefGenerator.getItemCount());
        cbPrefGenerator.addItemListener(new ItemListener() {
            public void itemStateChanged(ItemEvent evt) {
                preferredGeneratorChanged(evt);
            }
        });
        // END KGU#17 2016-04-01

        // START KGU#162 2016-03-31: Enh. #144 - now option to suppress all content transformation
        noConversionCheckBox.setText("No conversion of the expression/instruction contents.");
        noConversionCheckBox.setToolTipText("Select this option if the text content of your elements already represents target language syntax.");
        // END KGU#162 2016-03-31
		// START KGU#287 2017-01-07: Bugfix #330
        if (scaleFactor > 1 && !isNimbus) {
		// END KGU#287 2017-01-07
        	// START KGU#287 2016-11-11: Issue #81 (DPI-awareness workaround)
        	noConversionCheckBox.setIcon(unselectedBox);
        	noConversionCheckBox.setSelectedIcon(selectedBox);
        	// END KGU#287 2016-11-11
		// START KGU#287 2017-01-07: Bugfix #330
        }
		// END KGU#287 2017-01-07

        commentsCheckBox.setText("Export instructions as comments.");
//        commentsCheckBox.addActionListener(new ActionListener() {
//            public void actionPerformed(ActionEvent evt) {
//                commentsCheckBoxActionPerformed(evt);
//            }
//        });
		// START KGU#287 2017-01-07: Bugfix #330
        if (scaleFactor > 1 && !isNimbus) {
		// END KGU#287 2017-01-07
        	// START KGU#287 2016-11-11: Issue #81 (DPI-awareness workaround)
        	commentsCheckBox.setIcon(unselectedBox);
        	commentsCheckBox.setSelectedIcon(selectedBox);
        	// END KGU#287 2016-11-11
		// START KGU#287 2017-01-07: Bugfix #330
        }
		// END KGU#287 2017-01-07

        jLabel1.setText("Please select the options you want to activate ...");

        bracesCheckBox.setText("Put block-opening brace on same line (C/C++/Java etc.).");
        //bracesCheckBox.setActionCommand("Put block-opening brace on same line (C/C++/Java etc.).");	// ??
        bracesCheckBox.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent evt) {
                bracesCheckBoxActionPerformed(evt);
            }
        });
		// START KGU#287 2017-01-07: Bugfix #330
        if (scaleFactor > 1 && !isNimbus) {
		// END KGU#287 2017-01-07
        	// START KGU#287 2016-11-11: Issue #81 (DPI-awareness workaround)
        	bracesCheckBox.setIcon(unselectedBox);
        	bracesCheckBox.setSelectedIcon(selectedBox);
        	// END KGU#287 2016-11-11
		// START KGU#287 2017-01-07: Bugfix #330
        }
        // END KGU#287 2017-01-07

        lineNumbersCheckBox.setText("Generate line numbers on export to BASIC.");
        lineNumbersCheckBox.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent evt) {
                lineNumbersCheckBoxActionPerformed(evt);
            }
        });
		// START KGU#287 2017-01-07: Bugfix #330
        if (scaleFactor > 1 && !isNimbus) {
		// END KGU#287 2017-01-07
        	// START KGU#287 2016-11-11: Issue #81 (DPI-awareness workaround)
        	lineNumbersCheckBox.setIcon(unselectedBox);
        	lineNumbersCheckBox.setSelectedIcon(selectedBox);
        	// END KGU#287 2016-11-11
		// START KGU#287 2017-01-07: Bugfix #330
        }
        // END KGU#287 2017-01-07

        chkExportSubroutines.setText("Involve called subroutines");
        chkExportSubroutines.addActionListener(new ActionListener() {
        	public void actionPerformed(ActionEvent evt) {
        		subroutinesCheckBoxActionPerformed(evt);
        	}
        });
		// START KGU#287 2017-01-07: Bugfix #330
        if (scaleFactor > 1 && !isNimbus) {
		// END KGU#287 2017-01-07
        	// START KGU#287 2016-11-11: Issue #81 (DPI-awareness workaround)
        	chkExportSubroutines.setIcon(unselectedBox);
        	chkExportSubroutines.setSelectedIcon(selectedBox);
        	// END KGU#287 2016-11-11
		// START KGU#287 2017-01-07: Bugfix #330
        }